package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/EachTypeImages.class */
public class EachTypeImages {
    @ApiModelProperty("主键id")
    private Integer id;
    @ApiModelProperty("关联表名")
    private String type;
    @ApiModelProperty("关联表主键")
    private Integer typeId;
    @ApiModelProperty("url")
    private String connect;
    @ApiModelProperty("添加时间")
    private String createTime;
    private MultipartFile icon;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public void setConnect(String connect) {
        this.connect = connect;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setIcon(MultipartFile icon) {
        this.icon = icon;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof EachTypeImages)) {
            return false;
        }
        EachTypeImages other = (EachTypeImages) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$type = getType();
        Object other$type = other.getType();
        if (this$type == null) {
            if (other$type != null) {
                return false;
            }
        } else if (!this$type.equals(other$type)) {
            return false;
        }
        Object this$typeId = getTypeId();
        Object other$typeId = other.getTypeId();
        if (this$typeId == null) {
            if (other$typeId != null) {
                return false;
            }
        } else if (!this$typeId.equals(other$typeId)) {
            return false;
        }
        Object this$connect = getConnect();
        Object other$connect = other.getConnect();
        if (this$connect == null) {
            if (other$connect != null) {
                return false;
            }
        } else if (!this$connect.equals(other$connect)) {
            return false;
        }
        Object this$createTime = getCreateTime();
        Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime != null) {
                return false;
            }
        } else if (!this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$icon = getIcon();
        Object other$icon = other.getIcon();
        return this$icon == null ? other$icon == null : this$icon.equals(other$icon);
    }

    protected boolean canEqual(Object other) {
        return other instanceof EachTypeImages;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $type = getType();
        int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode());
        Object $typeId = getTypeId();
        int result3 = (result2 * 59) + ($typeId == null ? 43 : $typeId.hashCode());
        Object $connect = getConnect();
        int result4 = (result3 * 59) + ($connect == null ? 43 : $connect.hashCode());
        Object $createTime = getCreateTime();
        int result5 = (result4 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
        Object $icon = getIcon();
        return (result5 * 59) + ($icon == null ? 43 : $icon.hashCode());
    }

    public String toString() {
        return "EachTypeImages(id=" + getId() + ", type=" + getType() + ", typeId=" + getTypeId() + ", connect=" + getConnect() + ", createTime=" + getCreateTime() + ", icon=" + getIcon() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getType() {
        return this.type;
    }

    public Integer getTypeId() {
        return this.typeId;
    }

    public String getConnect() {
        return this.connect;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public MultipartFile getIcon() {
        return this.icon;
    }
}